package com.cyy.view

import com.cyy.model.GmodelModel
import com.cyy.srv.GenSrv
import tornadofx.*

class MainTap(val gmodel: GmodelModel, val genSrv: GenSrv) : View("My View") {

    override val root = tabpane {
        tab("强大生成器") {
            isClosable=false
            add(GEnjoy(gmodel,genSrv))
        }
        tab("通用查寻") {
            isClosable=false
            add(Search())
        }
    }
}
